package com.moon.interview.common;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
public class PageInfo<T>{

    @Schema(name = "total", description = "总数")
    private Long total;

    @Schema(name = "data", description = "")
    private List<T> records;
}
